import { Card, Table, Button } from 'antd';

export default function InventoryCheck() {
  const columns = [
    {
      title: '商品名称',
      dataIndex: 'productName',
    },
    {
      title: '理论数量',
      dataIndex: 'theoryCount',
    },
    {
      title: '实际数量',
      dataIndex: 'actualCount',
    },
    {
      title: '差异原因',
      dataIndex: 'reason',
    },
  ];

  return (
    <div style={{ padding: 24 }}>
      <Card title="库存盘点">
        <Button type="primary" style={{ marginBottom: 16 }}>开始盘点</Button>
        <Table 
          columns={columns}
          rowKey="id"
          dataSource={[]}
        />
      </Card>
    </div>
  );
}